<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model api\models\VipAssignment */

$this->title                   = $model->item_name;
$this->params['breadcrumbs'][] = ['label' => "Vip管理", 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="vip-assignment-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= DetailView::widget([
        'model'      => $model,
        'attributes' => [
            'item_name',
            'user_id',
            'availability_num',
            'expired_time:datetime',
            'created_at:datetime',
        ],
    ]) ?>

</div>
